package com.freemalll.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 商户附件表
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_attach")
@Schema(description = "商户附件表")
public class MerAttach extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "attach_id", type = IdType.ASSIGN_UUID)
    private String attachId;

    @Schema(description = "所属商户")
    @TableField("mer_id")
    private String merId;

    @Schema(description = "附件名称")
    @TableField("config_name")
    private String configName;

    @Schema(description = "附件编码")
    @TableField("config_code")
    private String configCode;

    @Schema(description = "资料审核结果")
    @TableField("attach_result")
    private String attachResult="合格";

    @Schema(description = "资料审核备注")
    @TableField("remark")
    private String remark;

    @Schema(description = "事件日期")
    @TableField("event_data")
    private String eventData;

    @Schema(description = "风险等级")
    @TableField("risk_level")
    private String riskLevel;

    @Schema(description = "事件详情")
    @TableField("event_detail")
    private String eventDetail;

    @Schema(description = "初审意见")
    @TableField("opinion")
    private String opinion;

    @Schema(description = "附件类型")
    @TableField("attach_type")
    private Integer attachType;

    @Schema(description = "第几次补件")
    @TableField("supplement_count")
    private Integer supplementCount;


}
